<?php include_stylesheets_for_form($form) ?>
<?php include_javascripts_for_form($form) ?>
<div class="page_title"><?php echo __('Register a new club '); ?></div>

<p>Use this form to register a new club on the web site.</p>

<form action="<?php echo url_for('@create_club'); ?>" method="post" class="createForm">
        <ul>
<?php foreach ($form as $widget): ?>
    <?php if ($widget->hasError()): ?>
            <li class='error'><?php echo $widget->getError(); ?></li>
    <?php endif; ?>
    <?php if (!$widget->isHidden()) { ?>
            <li>
                <span class="label"><?php echo $widget->renderLabel(); ?><?php echo $widget->renderHelp() ?></span>
                <?php echo $widget->render() ?>
            </li>
    <?php } else { ?>
            <li><?php echo $widget->render() ?></li>
    <?php } ?>
<?php endforeach; ?>
        </ul>
    <p><input type="submit" id='submit' value="<?php echo __('Register'); ?>" /></p>
</form>